<?php session_start();?>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
			<head>
				<title>sistema auto-admin</title>
			<style type="text/css">  @import url("../css/login2.css");  </style>
            <style type="text/css">  @import url("../css/livecss.css");  </style>
            <script language="javascript" src="../javascripts/prototype-1.6.0.3.js"> </script>
            <script language="javascript" src="../javascripts/livevalidation_prototype.js" > </script>
            <script language="javascript" src="../javascripts/funciones.js" > </script>
		    </head>
			<body class="body">
            
				<div id="head" name="head" class="head">
                	<div id="Titulo" name="Titulo" class="Titulo">
					 <img src="../img/cabezal_bolivariano.gif" alt="Cabecera logo" title="CANTV logo" border="0"/>
					</div>
					<table width="75%" align="center">
                    <tr>
                        <td id="logo" name="logo">
                        <img src="../img/cantv-net.gif" alt="CANTV logo" title="CANTV logo" border="0" width="180"/>
                        </td>
                     </tr>
                    </table>
				</div> <!--fin de div head--->
                <div id="middle" name="middle" class="middle">
                	<div id="left2" name="left2" class="left2">
                	</div>  <!-- Contenido del menu izquierdo-->
					<div id="content" name="content" class="content"> <!-- Contenido de la pagina-->
						<div id="login" name="login" class="login">
						<h3>Autenticacion de usuario</h3>
						<form action="../../controllers/login_action.php" method="post">
							<div class="a_la_izq2">
								<div id="username" name="username" class="username">
                					<div class="user-pass">
                    				Usuario:
									</div>
								<input name="username" id="usuario" type="text"/>
								<script> validarPresence('usuario'); </script>
                    			</div> <!--fin de div username-->
                				<div id="password" name="password" class="password">
									<div class="user-pass">
                    				Contrase&ntilde;a:
									</div> <!--fin de div user-pass-->	
								<input name="password" type="password" id="pwd" />
								<script> validarPresencia('pwd');  </script>
				  				</div><!---fin de div password-->
								</br>
                    			<input type="submit" name="ingresar" value="Ingresar" class="enviar"/>
							</div> <!--fin de div a_la_izq2-->
                		</form>
                		</div> <!--end div login-->
						<br>
						<?php 
						if (isset($_SESSION['cantv']['mens']))
						{
						echo "<div class='error'>";
						echo " &nbsp; ".$_SESSION['cantv']['mens']. " &nbsp; ";
						echo "</div>";
						unset($_SESSION['cantv']['mens']);
						}
						?>

                    </div> <!--end div content-->
				 </div> <!--end div middle-->
       <div id="footer" name="footer" class="footer">
</div>
</body>
</html>
